package cn.sunshine.basic.constant;

public class BaseContants {
    /* 
    * @Title: 
    * @Description: 验证code常量类
    * @Author: Mr.Jiang
    * @Version: 1.0
    * @Date:  2022/7/6 15:27  
    * @Parameters: 
    * @Return 
    */
    public class verifyCodeConstant {
        // 手机号直接作为主键容易产生冲突，建议加一个业务主键
    public static final String BUSINESS_REGISTER_KEY = "register:";
    public static final String BUSINESS_BINDER_KEY = "binder:";

    }
    // 微信登录常量
    public class WechatConstant{
        public static final String APPID = "wxd853562a0548a7d0";
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";

    }
}
